|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpow.webserver.Serveur.IvyEventSource
public static class Serveur.IvyEventSource
| Constructor Summary | |
|---|---|
Serveur.IvyEventSource()
|
|
| Method Summary | |
|---|---|
void |
activate()
Activate the event source. |
void |
passivate()
Desactivate the event source. |
void |
run()
main loop : listens to the udp channel deciphers the udp message checks if the sender is a new bus or not send the message to database through a fifo turns the ivy message into a pushlet event send the event to web users checks if there are some buses that doesn't send messages anymore removes drone which belonged to dead buses |
void |
setServletContext(javax.servlet.ServletContext srvCtxt)
method qui renseigne la source sur la servlet qui l'a appelé modification de la librairie pushlet Pushlet.java EventSource.java EventSourceManager.java |
void |
stop()
Desactivate the event source. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Serveur.IvyEventSource()
| Method Detail |
|---|
public void activate()
activate in interface nl.justobjects.pushlet.core.EventSourceclasspublic void passivate()
passivate in interface nl.justobjects.pushlet.core.EventSourcepublic void stop()
stop in interface nl.justobjects.pushlet.core.EventSourcepublic void run()
run in interface java.lang.Runnablepublic void setServletContext(javax.servlet.ServletContext srvCtxt)
setServletContext in interface nl.justobjects.pushlet.core.EventSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||